﻿<UserControl x:Class="Scripni.Chess.UI.Views.GameBoard"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:Views="clr-namespace:Scripni.Chess.UI.Views"
             mc:Ignorable="d"
             DataContext="{Binding Game, Source={StaticResource Locator}}"
             d:DesignHeight="300"
             d:DesignWidth="300">
    <Grid>
        <Views:ChessBoard ItemsSource="{Binding Board.Squares}"
                          SelectedItem="{Binding ActiveSquare}" />
    </Grid>
</UserControl>
